from pendulum.datetime import DateTime


def dt_to_date(dt: DateTime) -> str:
    """
    Convert a datetime object to a string in the format "YYYY-MM-DD".
    """
    return dt.format("YYYY-MM-DD")
